From: Georges Basile Stavracas Neto Date: Thu, 17 Dec 2020 05:05:03 +0000 (-0300) Subject: st: Fix painting unblurred texture X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~672 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ec1b0990174be6e5a5859cde272ddda6931a62e3;p=gnome-shell.git st: Fix painting unblurred texture ClutterActorBox encapsulates (x1, y1, x2, y2), but the second pair of values to the texture node are width and height, leading to incorrectly rendering the unblurred texture. Fix that by properly making these values be x2 and y2. Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3497 Part-of: --- diff --git a/src/st/st-private.c b/src/st/st-private.c index 8387bbc8d..4d8952f5e 100644 --- a/src/st/st-private.c +++ b/src/st/st-private.c @@ -443,7 +443,8 @@ _st_create_shadow_pipeline (StShadow *shadow_spec, clutter_paint_node_add_rectangle (texture_node, &(ClutterActorBox) { half, half, - src_width, src_height, + src_width + half, + src_height + half, }); paint_context =